package work.lianwei;

import io.netty.channel.nio.NioEventLoopGroup;

import java.util.List;
import java.util.stream.Collectors;

public class StreamTest {
    public static void main(String[] args) {
        List<String> list = List.of("1","2","3","4");
        list.stream().filter("2"::equals).collect(Collectors.toList());
        System.out.println(list);
//        new NioEventLoopGroup()
    }
}
